package com.sh.business.domain.bo;

import com.sh.business.domain.Config;
import com.sh.business.domain.dto.Bonus;
import com.sh.business.domain.dto.Ordinary;
import com.sh.business.domain.dto.Special;
import com.sh.common.mybatis.core.domain.BaseEntity;
import com.sh.common.core.validate.AddGroup;
import com.sh.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 奖励配置业务对象 bms_config
 *
 * @author ruoyi
 * @date 2024-10-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Config.class, reverseConvertGenerate = false)
public class ConfigBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 普通奖励配置
     */
    private Ordinary ordinary;

    /**
     * 特殊奖励配置
     */
    private Special special;

    /**
     * 分红奖励配置
     */
    private Bonus bonus;


}
